// 获取分类、筛选等数据
export const fetchfilterData = (params, config = {}) => uni.$uv.http.get('/wechatApi.Base/getfilterData', params, config)

//获取数据
export const fetchThreadData = (params, config = {}) => uni.$uv.http.post('/wechatApi.Base/getThread', params, config)

export const getLeaderCitys = (params, config = {}) => uni.$uv.http.post('/wechatApi.Thread/getLeaderCitys', params, config)

//搜索
export const fetchSearchData = (params, config = {}) => uni.$uv.http.post('/wechatApi.Search/doSearch', params, config)

//打开详情
export const fetchWidData = (params, config = {}) => uni.$uv.http.post('/wechatApi.Thread/fetchbyWid', params, config)

//发布
export const doCreateThread = (params, config = {}) => uni.$uv.http.post('/wechatApi.Thread/createThread', params, config)

//验证码
export const sendCode = (params, config = {}) => uni.$uv.http.post('/wechatApi.User/sendCode', params, config)

//登录
export const doUserLogin = (params, config = {}) => uni.$uv.http.post('/wechatApi.User/doUserLogin', params, config)

//登录
export const getPhoneNumberByUniClound = (params, config = {}) => uni.$uv.http.post('/wechatApi.User/getPhoneNumberByUniClound', params, config)

//获取城市等
export const getLeader = (params, config = {}) => uni.$uv.http.get('/wechatApi.Thread/getLeader', params, config)

//搜索提示
export const getRelatedQuery = (params, config = {}) => uni.$uv.http.post('/wechatApi.Search/doRelatedQuery', params, config)


export const hotSearchWords = (params, config = {}) => uni.$uv.http.get('/wechatApi.Search/hotSearchWords', params, config)


export const getIndexLunbo = (params, config = {}) => uni.$uv.http.get('/MinApi/lunboData', params, config)

//获取首页


export const getfilterData = (params, config = {}) => uni.$uv.http.get('/wechatApi.Base/getfilterData', params, config)

export const getCitysData = (params, config = {}) => uni.$uv.http.get('/wechatApi.Thread/getCitysData', params, config)

//搜索
export const doRelatedQuery = (params, config = {}) => uni.$uv.http.post('/wechatApi.Search/doRelatedQuery', params, config)
export const doSearch = (params, config = {}) => uni.$uv.http.post('/wechatApi.Search/doSearch', params, config)
